package com.sure.supermarketserver.security.user.dao;

import com.sure.supermarketserver.security.user.User;
import com.sure.supermarketserver.security.user.UserDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


//@Mapper
public interface UserDao {

    @Select("select st_id u_id ,st_name u_name,st_pwd u_pwd from staff")
    List<User> findUserList();

    List<User> findUserListBydto(UserDto dto);
}
